/**
 * @description 广告
 */
//公用样式 
require('../../assets/css/index.less')
// 当前页面样式
require('./advertisement.less')


//工具函数 utils
const dom = require('../../utils/dom');

//DOM加载事件
dom.ready(function () {
  

})

let Jumpleft = document.querySelector('.Jump-left')
let Jumpright = document.querySelector('.Jump-right')
Jumpright.addEventListener("click", function () {
    location.href = "register.html"
})
let num = 5;
let Jumplefts = setInterval(function () {
    num--;
    console.log(num);
    if (num < 0) {
        clearInterval(Jumplefts)
        location.href = "register.html"
    } else {
        Jumpleft.textContent = num + 's |'
    }
}, 1000)